Repository navigation
The install's own AWS account updates with the release: nothing to do - #461
Merged
Merged
Conversation
The AWS page and the integrations card showed an amber "needed" card for the install's own account, with Update now and Update from the AWS page. The release now brings that account's read-only permissions to its CoderHelmLogReader by itself (the access stack's reader update, platform), so the card says "Updates with the release", lists what arrives, and offers nothing to press. Other accounts keep their one-click update stack.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The install's own AWS account no longer shows anything to do. In the platform PR (CoderHelm/coderhelm-platform#789), the release brings that account's new read-only permissions to its
CoderHelmLogReaderby itself. So the AWS page and the integrations card now say Updates with the release and list what arrives. They show no amber "needed" card, no Update now and no Update from the AWS page. Other accounts keep their one-click update stack, unchanged.Changes
components/aws-permissions.tsx: for the install's own account with permissions missing, the panel shows one quiet card: "Updates with the release", what arrives, and that there is nothing to do. The optional reads and their switches stay as they were.stateLabelreads "Updates with the release".InstallNeededNowandinstallHeaderare no longer used here.components/connections.tsx: the install-account callout reads "Updates with the release: N read-only permissions arrive with the next update" and "Nothing to do...". Its link to the AWS page is removed.aws-install-options.spec.ts: the three tests that asserted Update now, the boundary state and the missing-role state are replaced by one. It checks, with and without a newer version out, that the card has no button, no link and no "Update needed".integrations-page.spec.ts: checks the new wording, and that the link is gone.Verification
npx tsc --noEmit: clean.npm run lint: UI lint passed, no hardcoded hosted addresses.aws-install-options,aws-permissions,integrations-pageandinfra-aws-switch: 37 passed.